package net.betou.trade.entity.main.base;

import java.io.Serializable;
import java.util.Date;

import net.betou.trade.entity.main.AgentAndAdmins;
import net.betou.trade.entity.main.AgentAndAdminsExt;

/**
 * 居间商 辅助信息
 * 
 * @author 叶装装
 *
 */
public abstract class BaseAgentAndAdminsExt implements Serializable{

	private static final long serialVersionUID = 7261643494500252381L;

	public BaseAgentAndAdminsExt( ){
		initialize( );
	}
	
	protected void initialize( ){ }
	
	private int hashCode = Integer.MIN_VALUE;
	
	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}
	
	public boolean equals( Object obj ) {
		if( null == obj )
			return false;
		if( !( obj instanceof AgentAndAdminsExt ) )
			return false;
		else{
			AgentAndAdminsExt ext = ( AgentAndAdminsExt ) obj;
			if( null == this.getId( ) || null == ext.getId( ) )
				return false;
			else
				return( this.getId( ).equals( ext.getId( ) ) );
		}
	}
	
	private java.lang.Integer id;
	
	// one to one
	private AgentAndAdmins admin;
	
	private String address;				//联系地址
	private String homePage;			// 主页
	private String intro;					// 简介信息
	private String contract;				// 联系人
	private String tel;						// 联系电话
	private String realname; 			// 真实姓名
	private String qqService;         // 服务QQ， 表示经常联系的那个
	private String qqCooperation;   // 合作QQ
	private String qqOpenAccount;  //  开户QQ
	private String qqCustomer;     // 客户QQ
	private String qqComplaints;  // 投诉QQ
	private String qqSkillfulness; // 技术QQ
	private Boolean gender;		// 性别
	private Date birthday; // 生日
	
	// --------------------------------- 新增字段
	private String recommentAgent; // 推荐机构
	private String recommentAccount; // 推荐账号
	private String enterpriseName; // 企业名称
	private String documentName;  // 证件名称
	private String documentNum; // 证件号码
	private String documentType;// 证件类型
	private String businessLicense; // 营业执照
	private String taxRegistrationNumber; // 税务登记号
	private String organizationCodeCertificate; // 组织机构代码证
	private String bis; // 结算银行
	private String legalRepresentative;// 法人
	private String accountName; //开户名称;
	private String tradersCodingBegins; // 交易商编码开始
	private String tradersCodingEnds; // 交易商编码结束
	private String bankAccount; // 银行帐号
	private Double accountFunds; // 账户资金
	
	
	
	
	public java.lang.Integer getId( ) {
		return id;
	}

	public void setId( java.lang.Integer id ) {
		this.id = id;
	}

	public String getAddress( ) {
		return address;
	}

	public void setAddress( String address ) {
		this.address = address;
	}

	public String getHomePage( ) {
		return homePage;
	}

	public void setHomePage( String homePage ) {
		this.homePage = homePage;
	}

	public String getIntro( ) {
		return intro;
	}

	public void setIntro( String intro ) {
		this.intro = intro;
	}

	public String getContract( ) {
		return contract;
	}

	public void setContract( String contract ) {
		this.contract = contract;
	}

	public String getTel( ) {
		return tel;
	}

	public void setTel( String tel ) {
		this.tel = tel;
	}

	public String getQqService( ) {
		return qqService;
	}

	public void setQqService( String qqService ) {
		this.qqService = qqService;
	}

	public String getQqCooperation( ) {
		return qqCooperation;
	}

	public void setQqCooperation( String qqCooperation ) {
		this.qqCooperation = qqCooperation;
	}

	public String getQqOpenAccount( ) {
		return qqOpenAccount;
	}

	public void setQqOpenAccount( String qqOpenAccount ) {
		this.qqOpenAccount = qqOpenAccount;
	}

	public String getQqCustomer( ) {
		return qqCustomer;
	}

	public void setQqCustomer( String qqCustomer ) {
		this.qqCustomer = qqCustomer;
	}

	public String getQqComplaints( ) {
		return qqComplaints;
	}

	public void setQqComplaints( String qqComplaints ) {
		this.qqComplaints = qqComplaints;
	}

	public String getQqSkillfulness( ) {
		return qqSkillfulness;
	}

	public void setQqSkillfulness( String qqSkillfulness ) {
		this.qqSkillfulness = qqSkillfulness;
	}

	public String getRealname( ) {
		return realname;
	}

	public void setRealname( String realname ) {
		this.realname = realname;
	}

	public Boolean getGender( ) {
		return gender;
	}

	public void setGender( Boolean gender ) {
		this.gender = gender;
	}

	public Date getBirthday( ) {
		return birthday;
	}

	public void setBirthday( Date birthday ) {
		this.birthday = birthday;
	}

	public AgentAndAdmins getAdmin( ) {
		return admin;
	}

	public void setAdmin( AgentAndAdmins admin ) {
		this.admin = admin;
	}

	public String getRecommentAgent( ) {
		return recommentAgent;
	}

	public void setRecommentAgent( String recommentAgent ) {
		this.recommentAgent = recommentAgent;
	}

	public String getRecommentAccount( ) {
		return recommentAccount;
	}

	public void setRecommentAccount( String recommentAccount ) {
		this.recommentAccount = recommentAccount;
	}

	public String getEnterpriseName( ) {
		return enterpriseName;
	}

	public void setEnterpriseName( String enterpriseName ) {
		this.enterpriseName = enterpriseName;
	}

	public String getDocumentName( ) {
		return documentName;
	}

	public void setDocumentName( String documentName ) {
		this.documentName = documentName;
	}

	public String getDocumentNum( ) {
		return documentNum;
	}

	public void setDocumentNum( String documentNum ) {
		this.documentNum = documentNum;
	}

	public String getDocumentType( ) {
		return documentType;
	}

	public void setDocumentType( String documentType ) {
		this.documentType = documentType;
	}

	public String getBusinessLicense( ) {
		return businessLicense;
	}

	public void setBusinessLicense( String businessLicense ) {
		this.businessLicense = businessLicense;
	}

	public String getTaxRegistrationNumber( ) {
		return taxRegistrationNumber;
	}

	public void setTaxRegistrationNumber( String taxRegistrationNumber ) {
		this.taxRegistrationNumber = taxRegistrationNumber;
	}

	public String getOrganizationCodeCertificate( ) {
		return organizationCodeCertificate;
	}

	public void setOrganizationCodeCertificate( String organizationCodeCertificate ) {
		this.organizationCodeCertificate = organizationCodeCertificate;
	}

	public String getBis( ) {
		return bis;
	}

	public void setBis( String bis ) {
		this.bis = bis;
	}

	public String getLegalRepresentative( ) {
		return legalRepresentative;
	}

	public void setLegalRepresentative( String legalRepresentative ) {
		this.legalRepresentative = legalRepresentative;
	}

	public String getAccountName( ) {
		return accountName;
	}

	public void setAccountName( String accountName ) {
		this.accountName = accountName;
	}

	public String getTradersCodingBegins( ) {
		return tradersCodingBegins;
	}

	public void setTradersCodingBegins( String tradersCodingBegins ) {
		this.tradersCodingBegins = tradersCodingBegins;
	}

	public String getTradersCodingEnds( ) {
		return tradersCodingEnds;
	}

	public void setTradersCodingEnds( String tradersCodingEnds ) {
		this.tradersCodingEnds = tradersCodingEnds;
	}

	public String getBankAccount( ) {
		return bankAccount;
	}

	public void setBankAccount( String bankAccount ) {
		this.bankAccount = bankAccount;
	}

	public Double getAccountFunds( ) {
		return accountFunds;
	}

	public void setAccountFunds( Double accountFunds ) {
		this.accountFunds = accountFunds;
	}
	
	
	
}
